using System.ComponentModel.DataAnnotations;

namespace Hospital.Domain
{
    /// <summary>
    /// 服务审核步骤
    /// </summary>
    public class ServiceAuditStep
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 关联的工作流Id
        /// </summary>
        public int WorkflowId { get; set; }

        /// <summary>
        /// 服务名称
        /// </summary>
        public string ServiceName { get; set; } = string.Empty;

        /// <summary>
        /// 审核状态：未审核、审核通过、审核不通过
        /// </summary>
        public string AuditStatus { get; set; } = "未审核";

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? AuditTime { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string? Auditor { get; set; }

        /// <summary>
        /// 步骤顺序
        /// </summary>
        public int StepOrder { get; set; }

        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDeleted { get; set; } = false;

        /// <summary>
        /// 导航属性：关联的工作流
        /// </summary>
        public virtual ServiceAuditWorkflow? Workflow { get; set; }
    }
} 